package com.cs.contract.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;


/**
 * @Author：zrx
 * @Package：com.cs.domain
 * @Project：RuoYi-Cloud
 * @name：CsBudget
 * @Date：2024/11/27 15:28
 * @Filename：CsBudget
 */
public class CsBudget extends BaseEntity {
    private static final long serialVersionUID = -8815888542536288526L;
    @Excel(name = "预算ID")
    private String duId;
    @Excel(name = "采购计划ID")
    private String aid;
    @Excel(name = "部门id")
    private Integer deptId;
    @Excel(name = "预算科目名称")
    private String duName;
    @Excel(name = "总金额")
    private Long duTotal;
    @Excel(name = "已使用金额")
    private BigDecimal usedMoney;

    public String getDuId() {
        return duId;
    }

    public void setDuId(String duId) {
        this.duId = duId;
    }

    public String getAid() {
        return aid;
    }

    public void setAid(String aid) {
        this.aid = aid;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getDuName() {
        return duName;
    }

    public void setDuName(String duName) {
        this.duName = duName;
    }

    public Long getDuTotal() {
        return duTotal;
    }

    public void setDuTotal(Long duTotal) {
        this.duTotal = duTotal;
    }

    public BigDecimal getUsedMoney() {
        return usedMoney;
    }

    public void setUsedMoney(BigDecimal usedMoney) {
        this.usedMoney = usedMoney;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("duId", duId)
                .append("aid", aid)
                .append("deptId", deptId)
                .append("duName", duName)
                .append("duTotal", duTotal)
                .append("usedMoney", usedMoney)
                .toString();
    }
}
